package handlers

import (
	"context"

	pb "discover"
)

// NewService returns a naïve, stateless implementation of Service.
func NewService() pb.DiscoverServer {
	return discoverService{}
}

type discoverService struct{}

func (s discoverService) Address(ctx context.Context, in *pb.AddressReq) (*pb.AddressAns, error) {
	var resp pb.AddressAns
	return &resp, nil
}

func (s discoverService) HealCheck(ctx context.Context, in *pb.HealReq) (*pb.HealAns, error) {
	var resp pb.HealAns
	return &resp, nil
}
